home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / DEMO86 / MAKEFILE < prev    next >
Text File  |  1997-01-12  |  660b  |  32 lines

  1. # Makefile for the example program
  2. # please note that the file containing main() must be the last one
  3. # specified in the link process
  4.  
  5. DIR     = ..\bin
  6. LIBDIR   = ..\lib86
  7. CC       = rcsc
  8.  
  9. OBJECTS  = mchopstk.obj mconsole.obj asyn8250.obj philos.obj
  10. ASMSRC   = mchopstk.asm mconsole.asm asyn8250.asm philos.asm
  11. M4SRC    = mchopstk.m4 mconsole.m4 asyn8250.m4 philos.m4
  12. #SCFLAGS  = -m -a -p
  13.  
  14. philos.exe: $(OBJECTS)
  15.     link $(OBJECTS), philos, philos, $(LIBDIR)\clib.lib $(LIBDIR)\csc.lib;
  16.  
  17. asm: $(ASMSRC)
  18.  
  19. m4: $(M4SRC)
  20.  
  21. .SUFFIXES
  22. .asm.obj:
  23.     masm $<;
  24.  
  25. .m4.asm:
  26.     m4 $(DIR)\8086.m4 $< > $*.asm
  27.  
  28. .c.m4:
  29.     $(CC) $< $(SCFLAGS)
  30.  
  31.